Make the default colors const.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Apr 2006 15:06:41 +0000 (15:06 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 3 Apr 2006 15:06:41 +0000 (15:06 +0000)
2006-04-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklinkbutton.c: Make the default colors const.

ChangeLog
ChangeLog.pre-2-10
gtk/gtklinkbutton.c

index eb7a9bc90726ec1cec4116e91ad9f3781c6c6057..73c4f3bf9feaa51dedc96a2ccd9eeae7e2181fa0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-04-03  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtklinkbutton.c: Make the default colors const.
+
        * gtk/gtkuimanager.c: Avoid relocations. 
 
        * gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static
index eb7a9bc90726ec1cec4116e91ad9f3781c6c6057..73c4f3bf9feaa51dedc96a2ccd9eeae7e2181fa0 100644 (file)
@@ -1,5 +1,7 @@
 2006-04-03  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtklinkbutton.c: Make the default colors const.
+
        * gtk/gtkuimanager.c: Avoid relocations. 
 
        * gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static
index 81b8b657d61a553db8b395edad1292cdd0aac09f..7d872a4821332618aa6d8747e15e05af4a018878 100644 (file)
@@ -99,8 +99,8 @@ static const GtkTargetEntry link_drop_types[] = {
   { "_NETSCAPE_URL", 0, 0 }
 };
 
-static GdkColor default_link_color = { 0, 0, 0, 0xeeee };
-static GdkColor default_visited_link_color = { 0, 0x5555, 0x1a1a, 0x8b8b };
+static const GdkColor default_link_color = { 0, 0, 0, 0xeeee };
+static const GdkColor default_visited_link_color = { 0, 0x5555, 0x1a1a, 0x8b8b };
 
 static GtkLinkButtonUriFunc uri_func = NULL;
 static gpointer uri_func_data = NULL;